package com.graduationdesign.zengyan.graduationdesignapp.ui.contact;

import com.graduationdesign.zengyan.graduationdesignapp.dataLayer.model.User;
import com.graduationdesign.zengyan.graduationdesignapp.ui.base.BaseContact;
import com.graduationdesign.zengyan.graduationdesignapp.ui.base.BaseLoadingView;

/**
 * Created by ZengYan on 2018/4/16.
 *
 * @desc :
 */
public interface LoginContact {

    interface Presenter extends BaseContact.BasePresenter {

        void login(String stunum, String pwd , BaseLoadingView loadingView);

    }

    interface View extends BaseContact.BaseView {

        void showLoginSuccess(User user);

        void showLoginFail();

    }





}
